package com.drools.drools.chapter5;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * User: mishuai
 * Date: 2019-04-26
 * Time: 21:56
 * Des:
 */
@Component
public class MainConfig {
   static AnnotationConfigApplicationContext app = new AnnotationConfigApplicationContext(Cap5MainConfig.class);


    public static AnnotationConfigApplicationContext appp(){
        return app;
    }
}
